package com.phospherus.flow.repository

import com.phospherus.common.repository.BaseRepository
import com.phospherus.flow.entity.TcflefttofactoryLeftapply
import com.phospherus.flow.entity.TcflefttofactoryQualityassurance
import com.phospherus.flow.entity.TqTable1

/**
 * @author songjinlong
 * @version 1.0
 * @since 2018/1/3
 */
interface TcflefttofactoryLeftapplyRespository : BaseRepository<TcflefttofactoryLeftapply, Long> {
    fun findByFormInstId(formInstId: Long): TcflefttofactoryLeftapply
}

interface TcflefttofactoryQualityassuranceRespository : BaseRepository<TcflefttofactoryQualityassurance, Long> {
    fun findByFormInstId(formInstId: Long): TcflefttofactoryQualityassurance

}

interface TqTable1Respository : BaseRepository<TqTable1, Long> {
    fun findByFormInstIdAndTcffqId(formInstId: Long, tcffqId: Long): List<TqTable1>
}